package com.CST.bo.zx;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

/**
 * @Author 伍文毅
 * @Date 2023 03 20 14 38
 **/
@ApiModel(value = "项目查询条件")
@Data
public class ProjectSelectBO{
    @ApiModelProperty(value = "结束时间,例2022-01-01")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    public LocalDate endTime;

    @ApiModelProperty(value = "开始时间，例2022-01-01")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    public LocalDate startTime;

    @ApiModelProperty(value = "开始日期（不需要赋值）,例202201")
    public Integer startDate;

    @ApiModelProperty(value = "结束日期（不需要赋值），例202201")
    public Integer endDate;

    @ApiModelProperty(value = "第几页，必要")
    public Integer pageNo;

    @ApiModelProperty(value = "每页几条，必要")
    public Integer pageSize;

    @ApiModelProperty(value = "项目负责人,必要")
    private String userId;

    @ApiModelProperty(value = "财务编码")
    private String financialCode;

    @ApiModelProperty(value = "项目编号")
    private String projectCode;

    @ApiModelProperty(value = "综合搜索")
    private String selectAll;
    @ApiModelProperty(value = "封存状态,0未封存，1封存")
    private Integer isClose;

    @ApiModelProperty(value = "查询所有项目")
    private Boolean isAll;

    @ApiModelProperty(value = "项目类别")
    private String projectCategoryId;

    @ApiModelProperty(value = "可查看人")
    private List<String> viewPerson;

}
